home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
runon.z
/
runon
Wrap
Text File
|
1998-10-20
|
1KB
|
67 lines
RRRRUUUUNNNNOOOONNNN((((1111)))) RRRRUUUUNNNNOOOONNNN((((1111))))
NNNNAAAAMMMMEEEE
runon - run a command on a particular cpu
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrruuuunnnnoooonnnn n command [ arguments ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_r_u_n_o_n executes _c_o_m_m_a_n_d, assigning it to run only on cpu _n, where _n varies
between 0 and the number of processors on the system minus one. (For
single-processor systems, then, there is only cpu 0.)
This cpu affinity is inherited across _f_o_r_k() and _e_x_e_c() system calls. A
_s_y_s_m_p(_2) call can change the cpu affinity. Note that _c_o_m_m_a_n_d may still
run on other processors, briefly, to perform i/o or other hardware-
specific actions.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
mpadmin(1), sysmp(2).
WWWWAAAARRRRNNNNIIIINNNNGGGGSSSS
In the case of the following command
runon 1 command1; command2
_r_u_n_o_n applies only to command1. The command
runon 2 (command1; command2)
is syntactically incorrect.
PPPPaaaaggggeeee 1111